<?php

/**
 * Question form.
 *
 * @package    Attitude Orchestra
 * @subpackage form
 * @author     Attitude OÜ
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class QuestionForm extends BaseQuestionForm
{
  private $_answerTypes = array(false => 'answer type' ,'text' => 'text', 
                              'number' =>'number', 'multitext' =>'multitext', 
                              'multinumber' => 'multinumber', 'select' => 'select', 
                              'multiselect' => 'multiselect',
                              'radio' => 'radio');  
    
  public function configure()
  {
      $this->widgetSchema['answer_type'] = new sfWidgetFormSelect(array('choices' => $this->_answerTypes));
  }
}
